x86/fpu: create FPU init and destroy functions
authorWei Huang <wei.huang2@amd.com>
Mon, 9 May 2011 10:37:36 +0000 (11:37 +0100)
committerWei Huang <wei.huang2@amd.com>
Mon, 9 May 2011 10:37:36 +0000 (11:37 +0100)
commitfb48379fc38ea90ccf58b126c8817baa17eea661
tree2a9827a0ee0f252ffd6e7d13d0dee0cb7ace9984
parente39609c4502b7abab4133f77587084047a6c3e79
x86/fpu: create FPU init and destroy functions

Extract FPU initialization and destroy code into two functions. These
functions handle memory allocation/deallocation for FPU context.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
xen/arch/x86/domain.c
xen/arch/x86/i387.c
xen/include/asm-x86/i387.h